{%include file="m.index.header.tpl.php"%}
<!--头部 end--> 
<!--主体部分-->
<form name="myform" action=""  method="post">
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-top:10px;">
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">地点:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_area">
			{%foreach from=$area_lists key=key item=value%}
				<option value="{%$key%}"> {%$key%}</option>
			{%/foreach%}
		  </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">星期:</label>
        <div class="col-sm-10">
         <select class="form-control" name="change_week">
			{%foreach from=$week_lists key=key item=value%}
				<option value="{%$key%}"> {%$value%}</option>
			{%/foreach%}
	     </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">时段:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_section">
				<option value="1"> 上午</option>
				<option value="2"> 下午</option>
		  </select> 
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">开始日期:</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" name="change_start" value="" id="start">
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">调动原因:</label>
        <div class="col-sm-10">
          <textarea rows="2" class="form-control" name="change_note"></textarea>
        </div>
      </div>
    </div>
    <div class="col-sm-12 distance" >
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">教师姓名:</label>
        <div class="col-sm-10">
          <select class="form-control" name="change_to">
			{%foreach from=$staff_lists key=key item=value%}
				<option value="{%$value.staff_id%}"> {%$value.staff_name%}</option>
			{%/foreach%}
		  </select> 
        </div>
      </div>
    </div>
		
    <div  class="text-center">
	<input type="hidden" name="change_box" value="{%$box_id%}">
	<button type="submit" class="btn btn-primary" style="width:80%">确 定</button>

	</div>
  </div>
  <!--row--> 
  
</div>
<!--container  end--> 
<!--主体部分  end--> 
{%include file="m.index.footer.tpl.php"%} 

<!--底部end--> 
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script> 
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script> 
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历--> 
<!--日历--> 
<script>
  $(function() {
    $( "#datepicker" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
	
	$( "#datepicker2" ).datepicker({
		 minDate: new Date(1953, 11, 31),  
         maxDate: new Date(2015, 11, 31), 
        changeMonth: true,
        changeYear: true
	  
    });
  });
  </script>
</body>
</html>
